const Router = require("koa-router");
const {BASE_URL}=require('../constants/public')
const momentLikeRouter = new Router({prefix: `${BASE_URL}/like`});
const {
    verifyAuth,
} = require('../middleware/auth.midderware')
const {
    loveCreate,
    hateCreate
}=require('../controller/moment.like.controller')


momentLikeRouter.post('/love',verifyAuth,loveCreate)
momentLikeRouter.post('/hate',verifyAuth,hateCreate)


module.exports=momentLikeRouter